package de.tabuma.pm.externalcontent.entity;

import javax.jdo.*;
import javax.jdo.annotations.*;

/**
 * @author $Author$
 * @version $Revision$
 * @since $Date$
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class ExternalContent {

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    Long id;
    
    public Long getId() {
        return id;
    }

    @Persistent
    int externProjectId;
    public int getExternProjectId() {
        return externProjectId;
    }
    public void setExternProjectId(int externProjectId) {
        this.externProjectId = externProjectId;
    }

    @Persistent
    int navigationId;
    public int getNavigationId() {
        return navigationId;
    }
    public void setNavigationId(int navigationId) {
        this.navigationId = navigationId;
    }

    @Persistent
    String url;
    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
}
